#wxImagecap Unit test

from imagecap import *
from Skytank_image import *

import time

image = ImageCap(300, 300, 60, 80)

start = time.time()
im = wx_translate_to_PIL(image.capture(), 300, 300)
print time.time() - start
im.show()

